<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--<meta name="viewport" content="width=device-width, initial-scale=1"> 响应式去除-->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>简历·风</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/stylish-portfolio.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <link rel="stylesheet" type="text/css" href="http://www.bootcss.com/p/buttons/css/buttons.css">
</head>

<body>
    <!-- Navigation -->
    <a id="menu-toggle" href="#" class="btn btn-dark btn-lg toggle"><i class="fa fa-bars"></i></a>
    <nav id="sidebar-wrapper">
        <ul class="sidebar-nav">
            <a id="menu-close" href="#" class="btn btn-light btn-lg pull-right toggle"><i class="fa fa-times"></i></a>
            <li class="sidebar-brand">
                <a href="#top"  onclick = $("#menu-close").click(); >简历·风</a>
            </li>
            <li>
                <a href="#top" onclick = $("#menu-close").click(); >首页</a>
            </li>
            <li>
                <a href="#about" onclick = $("#menu-close").click(); >关于</a>
            </li>
            <li>
                <a href="#services" onclick = $("#menu-close").click(); >服务</a>
            </li>
            <li>
                <a href="#portfolio" onclick = $("#menu-close").click(); >工作</a>
            </li>
            <li>
                <a href="#contact" onclick = $("#menu-close").click(); >联系我们</a>
            </li>
        </ul>
    </nav>

    
    <header id="top" class="headerEdit">
    <!-- Container -->
        <div class="myContainer" id="myContainer">
            <div style="height: 200px;background-color: #CC99FF;">
                <img src="img/buzhou.jpg" width="1140px" height="200px">
            </div>
            <div style="height: 600px;background-color: #CC99FF;">
                <br>
                <div class="row">
                    <div class="col-md-4" style="text-align: center;">
                        <img src="img/bg.jpg" class="avatar">
                    </div>
                    <div class="col-md-8">
                            <label for="inputPassword" class="control-label">Password</label>
                              <input type="password" class="form-control" id="inputPassword" placeholder="Password">

                    </div>
                </div>
            </div>
        </div>
    </header>




    <!-- jQuery -->
    <script src="js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>

    <!-- Custom Theme JavaScript -->
    <script>
    // Closes the sidebar menu
    $("#menu-close").click(function(e) {
        e.preventDefault();
        $("#sidebar-wrapper").toggleClass("active");
    });

    // Opens the sidebar menu
    $("#menu-toggle").click(function(e) {
        e.preventDefault();
        $("#sidebar-wrapper").toggleClass("active");
    });

    // Scrolls to the selected menu item on the page
    $(function() {
        var containerHeight = $('#myContainer').width();
        alert(containerHeight);
        //$('#left').css('width', value, propertyName, function)

        $('a[href*=#]:not([href=#])').click(function() {
            if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') || location.hostname == this.hostname) {

                var target = $(this.hash);
                target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
                if (target.length) {
                    $('html,body').animate({
                        scrollTop: target.offset().top
                    }, 1000);
                    return false;
                }
            }
        });
    });

    $('#myModal').on('show.bs.modal', function (e) {  
    $(this).find('.modal-dialog').css({  
        'margin-top': function () {  
            var modalHeight = $('#myModal').find('.modal-dialog').height();  
            return ($(window).height() / 2 - (modalHeight / 2));  
        }  
    });      
});

    </script>

</body>

</html>
